package com.lb.mapper.building;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lb.entity.building.Building;
import com.lb.entity.building.BuildingExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BuildingMapper extends BaseMapper<Building> {
    long countByExample(BuildingExample example);

    int deleteByExample(BuildingExample example);

    List<Building> selectByExample(BuildingExample example);

    int updateByExampleSelective(@Param("record") Building record, @Param("example") BuildingExample example);

    int updateByExample(@Param("record") Building record, @Param("example") BuildingExample example);
}